def taiji(r):
    import turtle as t
    t.pendown()
    t.begin_fill()
    t.circle(2*r,180);
    t.circle(r,180);
    t.circle(-r,180);
    t.end_fill()

    t.circle(-2*r,180);
    t.right(90)
    t.penup()
    t.forward(r*0.9)
    t.right(90)
    t.pendown()
    t.fillcolor("white")
    t.begin_fill()
    t.circle(r*0.1);
    t.end_fill()

    t.left(90)

    t.penup()
    t.forward(2*r)

    t.right(90)
    t.pendown()
    t.fillcolor("black")
    t.begin_fill()
    t.circle(r*0.1);
    t.end_fill()


import turtle as t
t.penup()
t.goto(100, -100)
taiji(100);

t.goto(200, -200)

taiji(100);

t.done();